package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ruoyi.system.api.domain.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface UserMapper extends BaseMapper<SysUser> {
    List<SysUser> selectUserList(IPage<SysUser> page,@Param("user") SysUser user);

    SysUser selectUserById(Long userId);

    List<Map<String, Object>> getPostData(Long userId);
}
